package com.weasing.res.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.weasing.res.dao.IWxRegionDao;
import com.weasing.res.domain.WxRegion;
import com.weasing.res.service.IWxRegionService;

@Service
@Transactional
public class WxRegionServiceImpl implements IWxRegionService {

	@Autowired
	private IWxRegionDao wxRegionDao;

	@Override
	public List<WxRegion> findWxRegionByCondition(int parentId, int regionType) {
		List<WxRegion> wxRegions = wxRegionDao.findWxRegionByCondition(
				parentId, regionType);
		return wxRegions;
	}

}
